Skip to main content

ControlCaption

The ControlCaption class represents the caption settings for form controls, including text, position, size, font, visibility, and alignment.

Properties

NameDescription
TextThe multi-language text of the control caption.
FontThe font settings of the control caption.
HorizontalAlignThe horizontal alignment of the control caption.
VisibleIndicates whether the control caption is visible.
EllipsisIndicates whether the control caption should display ellipsis when text overflows.
PositionThe position of the control caption relative to the control.
MarkSettingsThe settings for marking the control caption.
ShowColonIndicates whether a colon should be shown after the control caption.
VerticalAlignThe vertical alignment of the control caption.
SizeThe size of the control caption.

Constructors

NameDescription
ControlCaption()Initializes a new instance of the ControlCaption class with default values.

Methods

NameDescription
GetDifferences(otherObj)Compares the current instance with another control caption and returns the differences.